package com.vision.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vision.pojo.entity.Tag;
import com.vision.pojo.entity.Video;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: VideoVO
 * @author: escapeicon@gmail.com
 * @description: 视频详细信息视图对象
 * @date: 2024/1/25 14:50
 * @version: 1.0
 */
@Data
public class VideoVO {
    private Video video; // 视频

    private UserBriefVO user; // 用户简要信息

    private Integer likes; // 点赞数
    private Integer isLiked; // 是否点赞 0：未点赞 1：已点赞
    private Integer collects; // 收藏数
    private Integer isCollected; // 是否收藏 0：未收藏 1：已收藏

    private List<Tag> tags; // 标签
}
